from .config import mdb
import tornado.gen


@tornado.gen.coroutine
def init_slave_status():
    yield mdb.query('update tdp_slave set status="off-line"')


def init():
    init_slave_status()


